package com.gitee.neuray.security.par.demo.biz;

import com.gitee.neuray.security.par.demo.feign.DemoFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author: zhhongyu
 * @description:
 * @since: Create in 15:41 2020/8/25
 */
@Service
@Transactional(rollbackFor = Exception.class)
public class DemoBiz {
    @Autowired
    private DemoFeign demoFeign;

    public void test()throws Exception{
        demoFeign.getPermissionByUserId("sdfsd");
    }
}
